cnb\admin\api\CnbAppRemote C

Total Complexity 101
Dependencies 11
Dependents 36
Total lines 788
Lines of code 404
Logical lines of code 234
Comment lines 246
Methods 52
Properties 0

Methods 52

Method Rating Maintainability Complexity Lines of code
cnb_remote_handle_response()
A
50 9 27
cnb_remote_get_args()
S
53 6 23
cnb_remote_post()
S
57 3 16
cnb_remote_delete()
S
59 3 14
cnb_remote_patch()
S
59 3 14
cnb_remote_delete_apikey()
S
61 3 12
cnb_remote_delete_button()
S
62 3 11
cnb_remote_delete_domain()
S
62 3 11
cnb_remote_delete_condition()
S
62 3 11
cnb_remote_delete_action()
S
62 3 11
cnb_clean_site_url()
S
57 2 19
cnb_remote_get_button_for_condition()
S
66 3 8
cnb_remote_get_button_for_action()
S
66 3 8
cnb_remote_get()
S
60 2 13
cnb_remote_create_button()
S
68 2 7
cnb_remote_create_action()
S
68 2 7
cnb_remote_create_condition()
S
68 2 7
cnb_remote_get_user_info()
S
68 2 7
cnb_remote_create_domain()
S
68 2 7
cnb_remote_update_wp_button()
S
70 2 6
cnb_remote_update_action()
S
67 2 7
cnb_remote_get_wp_domain()
S
66 2 8
cnb_remote_update_condition()
S
67 2 7
cnb_incr_transient_base()
S
74 2 4
cnb__get_transient_base()
S
69 2 7
cnb_remote_update_button()
S
67 2 7
cnb_get_api_base()
S
74 2 4
cnb_remote_update_domain()
S
67 2 7
cnb_remote_create_billing_portal()
S
60 1 14
get_site_url()
S
81 1 3
cnb_remote_create_apikey()
S
75 1 4
cnb_remote_get_apikeys()
S
75 1 4
cnb_remote_get_buttons_full()
S
75 1 4
cnb_remote_get_apikey_via_ott()
S
74 1 4
enable_email_opt_in()
S
76 1 4
cnb_get_user_base()
S
78 1 3
cnb_get_static_base()
S
78 1 3
cnb_get_transient_base()
S
79 1 3
cnb_wp_request()
S
65 1 8
wp_remote_delete()
S
71 1 5
wp_remote_patch()
S
71 1 5
cnb_remote_update_user_info()
S
75 1 4
disable_email_opt_in()
S
76 1 4
cnb_remote_get_condition()
S
75 1 4
cnb_remote_get_domain()
S
75 1 4
cnb_remote_get_domains()
S
75 1 4
cnb_remote_get_button_full()
S
74 1 4
cnb_remote_get_buttons()
S
75 1 4
cnb_remote_get_action()
S
75 1 4
cnb_remote_get_actions()
S
75 1 4
cnb_remote_get_conditions()
S
75 1 4
cnb_remote_email_activation()
S
64 1 10